package com.whz.gateway.filter;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author whz
 */
@Getter
@Component
@RefreshScope
public class GatewaySwitcher {

    @Value("${gateway.permissions.act:true}")
    private boolean requireAccessControl;

}